Don't force an icon window
authorMatthias Clasen <mclasen@redhat.com>
Sun, 17 May 2015 03:55:09 +0000 (23:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 May 2015 03:55:09 +0000 (23:55 -0400)
We were inadvertently forcing the use of an icon window
in all cases. This patch makes it so that we once again
use a combined cursor when possible.

gtk/gtkdnd.c

index 94cc3f2725151aca27ced71124710db89ca77745..59b883da92451f67e07bebc62a1f2d30c514170e 100644 (file)
@@ -2517,8 +2517,7 @@ gtk_drag_begin_internal (GtkWidget         *widget,
   if (!info->icon_window && !info->icon_helper)
     {
       info->icon_helper = gtk_drag_source_site_get_icon_helper (site);
-      set_icon_helper (info->context, info->icon_helper,
-                       0, 0, TRUE);
+      set_icon_helper (info->context, info->icon_helper, 0, 0, FALSE);
     }
 
   /* We need to composite the icon into the cursor, if we are